package com.gitee.feizns.itrip.personal.auth.entity.ao;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author feizns
 * @since 2019/1/14 0014
 */
@Data
public class ForAcceptActivate {

    @NotNull(message = "{com.gitee.feizns.itrip.personal.auth.entity.ao.name}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.auth.entity.ao.name}")
    private String user;

    @NotNull(message = "{com.gitee.feizns.itrip.personal.auth.entity.ao.ForAcceptActivate.code}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.auth.entity.ao.ForAcceptActivate.code}")
    private String code;

}
